# filename: example9_15

def copy_name(friend, relatives):
    while friend:
        current_design = friend.pop()
        print('copy friend name: ' + current_design)
        relatives.append(current_design)


def qinren(relatives):
    print('The following friend names have been copy:')
    for com_model in relatives:
        print(com_model)


friend_list = ['Jcak', 'Tom', 'harry']
relatives = []
copy_name(friend_list, relatives)
qinren(relatives)